package com.dandelion.api.dao;

import com.dandelion.api.domain.NewestOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserOrderDao {
    @Select("select order_no as no, cst_addr_prov_code as provCode, cst_addr_city_code as cityCode ,expr_status as statusCode from t_order where is_deleted=0 and (status=1 or status =0) order by order_no desc limit 0,50")
    List<NewestOrder> queryNewestOrder();
}
